.Net Framework > v3.5.21022.8 > System > Linq > Queryable > OrderBy<TSource,TKey> OrderBy<TSource,TKey>(IQueryable<TSource>,Func<TSource,TKey>>)
OrderBy<TSource,TKey>(IQueryable<TSource>,Func<TSource,TKey>>,IComparer<TKey>)


OrderBy<TSource,TKey>(IQueryable<TSource>,Func<TSource,TKey>>)

Category
Method
Description
Sorts the elements of a sequence in ascending order according to a key.
Type
System.Linq.IOrderedQueryable<TSource>
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Linq.IQueryable<TSource>
keySelectorSystem.Linq.Expressions.Expression<System.Func<TSource,TKey>>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

OrderBy<TSource,TKey>(IQueryable<TSource>,Func<TSource,TKey>>,IComparer<TKey>)

Category
Method
Description
Sorts the elements of a sequence in ascending order by using a specified comparer.
Type
System.Linq.IOrderedQueryable<TSource>
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Linq.IQueryable<TSource>
keySelectorSystem.Linq.Expressions.Expression<System.Func<TSource,TKey>>
comparerSystem.Collections.Generic.IComparer<TKey>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database